package com.example.shopspring.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Admin {
    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    private String username;
    private String nickName;
    private String password;
    private String avatar;
    private String role;
}
